TBODY | NN n/a IE 4 DOM 1 | ||
The TBODY object reflects the TBODY element. By default, Internet Explorer creates a TBODY object for every table, but you can access its properties and methods only if you explicitly create a TBODY element (or access it via the tBodies[] collection of a table in the Win32 version). Note that the innerHTML, innerText, and outerHTML properties are not available on the Macintosh version of Internet Explorer 4. | |||
HTML Equivalent<TBODY> | |||
Object Model Reference
|
align | NN n/a IE 4 DOM n/a | ||
Read/Write | |||
Defines the horizontal alignment of content within all cells contained by the TBODY element. | |||
Exampledocument.all.myTBODY.align = "center" | |||
Value Any of the three horizontal alignment constants: center | left | right. | |||
|
bgColor | NN n/a IE 4 DOM n/a | ||
Read/Write | |||
Background color of the cells contained by the TBODY element. This color setting is not reflected in the style sheet backgroundColor property in Internet Explorer. Even if the BGCOLOR attribute or bgColor property is set with a plain-language color name, the returned value is always a hexadecimal triplet. | |||
Exampledocument.all.myTBODY.bgColor = "yellow" | |||
Value A hexadecimal triplet or plain-language color name. See | |||
|
vAlign | NN n/a IE 4 DOM n/a | ||
Read/Write | |||
The manner of vertical alignment of text within the cells contained by the TBODY element. | |||
Exampledocument.all.myTBODY.vAlign = "baseline" | |||
Value Case-insensitive constant (as a string): baseline | bottom | middle | top. | |||
|
rows[ ] | NN n/a IE 4 DOM n/a |
An array of all rows contained by the TBODY element. | |
Syntaxdocument.all.myTBODY.rows(i).objectPropertyOrMethod
|